<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="style.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>LINKIDEIAS</title>
</head>
<body>
<div id="container">
        <jsp:include page="alunoHeader.jsp"></jsp:include>
	<div id="content">
		<div id="content_top"></div>
        	<jsp:include page="alunoMenu.jsp"></jsp:include>
			<div class="post">
			<h4>${mensagem}</h4>
			<div class="contentbox_top">Gerencie Seus Pccs</div>
	<div align="center">
		
	<a href="LinkideiasController?cmd=cadastrarPcc"><img src="images/Add.png" style="margin-top:20px; border: 0;" title="Adicionar Pcc" /></a>
	<table>
	<thead>
  <tr>
    <th scope="col">Nome</th>
    <th scope="col">Categoria</th>
	<th scope="col">Status</th>
	<th scope="col">Detalhes</th>
	<th scope="col">Editar</th>
	<th scope="col">Excluir</th>

  </tr>
  </thead>
  <tbody>
  <c:forEach var="pcc" items="${pccs}">
  <tr>
    <th scope="row" id="r100">${pcc.nome}</th>
    <td>${pcc.categoria.nome}</td>
    <td>${pcc.estatus.nome}</td>
    <td><a href="LinkideiasController?cmd=exibirPcc&codigo=${pcc.codigo}">Detalhes</td>
    <td><a href="LinkideiasController?cmd=atualizarPcc&codigo=${pcc.codigo}"><img src="images/Modify.png" border="0" title="Editar Pcc" /></td>
    <td><a href="LinkideiasController?cmd=excluirPcc&codigo=${pcc.codigo}"><img src="images/Delete.png" border="0" title="Excluir Pcc"/></td>
  </tr>
  </c:forEach>
  </tbody>
</table>
</div>  	
  <br>
  <br>
  <br>
  <br>
  <br>
  <br>
  <br>
  <br>
  <br>
  <br>
   <br>
  <br>
  <br>
  <br>
  <br>
  <br>
  <br>
  <br>
  <br>
  <br>
  </div>
	<jsp:include page="constFooter.jsp"></jsp:include>
    </div>
		<div id="bottom"></div>
</div>

</body>
</html>
